'use strict';
/**
 * @params {}
 * @bussiness {作家专区}
 * @author JC
 * @date 2022-08-17
 * **/
const Controller = require('egg').Controller;
class Zone extends Controller {
    async getAuthorZone() {
        try {
            const {ctx} = this;
            const params = ctx.request.body
            let result = await ctx.service.zone.getAuthorZone(params);
            ctx.body = {
                msg:200,
                data:result
            }
            
        } catch (e) {
            return new Error('error')
        }
    }
}
module.exports = Zone;